import request from '@/request'
type loginType = {
  token: string
}
export const indexTarde = (data: any) => {
  return request.post<any>('index/tarde', data)
}
export const company = (data: any) => {
  return request.post<any>('index/company', data)
}
export const config = (data: any) => {
  return request.post<any>('index/config', data)
}
export const vote = (data: any) => {
  return request.post<any>('index/vote', data)
}
export const companyInfoApi = (data: any) => {
  return request.post<any>('index/company_info', data)
}
export const media = (data: any) => {
  return request.post<any>('index/media', data)
}